package org.lightrpc;

/**
 * The response class for Light RPC. Includes the actual data
 * and the status of the call.
 * @author miku
 *
 */
public class Response {
	
	public static final String RPC_STATUS_NAME = "rpcStatus";
	
	public static final String RPC_STATUS_SUCCESS = "success";
	
	public static final String RPC_STATUS_FAILURE = "error";
	
	private String data;
	
	private String status;
	
	public Response() {
	}
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Response(String string) {
		this.data = string;
	}

	public String getData() {
		return data;
	}
	public void setData(String data) {	
		this.data = data;
	}

}
